home *** CD-ROM | disk | FTP | other *** search
/ Acorn User: China / Acorn User China CD-ROM (UK) (Disc B) / Acorn User China CD-ROM (UK) (Disc B).bin / STUTTGART / FROMUTS / PCPATCH / PCEmPatch
Encoding:
Text File  |  1992-02-27  |  1.4 KB  |  50 lines

  1. # Patches for the Acorn PC Emulator version 1.60.
  2.  
  3. # As shipped, the PC Emulator will not use a hard disk file which has
  4. # a file type of &FC8 and is therefore a DOSFS image, as the object
  5. # type is 3 (Image) not 1 (File). This patch fixes this problem.
  6.  
  7. # In all three cases the code being changed is: 
  8.  
  9. #   059D0008 : LDREQ   R0,[R13,#8]
  10. #   028DD010 : ADDEQ   R13,R13,#&10                   ; =16
  11. #   13A00000 : MOVNE   R0,#0
  12. #   128DD010 : ADDNE   R13,R13,#&10                   ; =16
  13.  
  14. # to:
  15.  
  16. #   13500003 : CMPNE   R0,#3
  17. #   13A00000 : MOVNE   R0,#0
  18. #   059D0008 : LDREQ   R0,[R13,#8]
  19. #   095BA800 : LDMDB   R11,{R11,R13,PC}^
  20.  
  21. Application:!PCEm &2000
  22. Description:Acorn PC Emulator
  23. Patch:Allows !PCEm 1.60 to access DOSDisc hard disk images
  24. File:!PCEm.!RunImage &FF8
  25. Transform:Squeeze
  26. Location:&1B2D0
  27. ChangeWord:&059D0008 &13500003
  28. ChangeWord:&028DD010 &13A00000
  29. ChangeWord:&13A00000 &059D0008
  30. ChangeWord:&128DD010 &E95BA800
  31.  
  32.  
  33. Application:!PCEmS &2000
  34. Description:Acorn PC Emulator (small version)
  35. Patch:Allows !PCEmS 1.60 to access DOSDisc hard disk images
  36. File:!PCEmS.!RunImage &FF8
  37. Transform:Squeeze
  38. Location:&1D25C
  39. ChangeWord:&059D0008 &13500003
  40. ChangeWord:&028DD010 &13A00000
  41. ChangeWord:&13A00000 &059D0008
  42. ChangeWord:&128DD010 &E95BA800
  43.  
  44. File:!PCEmS.!configdb &FF8
  45. Transform:Squeeze
  46. Location:&2CA4
  47. ChangeWord:&059D0008 &13500003
  48. ChangeWord:&028DD010 &13A00000
  49. ChangeWord:&13A00000 &059D0008
  50. ChangeWord:&128DD010 &E95BA800